package form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.validator.ValidatorForm;

public class NewClientForm extends ValidatorForm{
	
	private String nomFiliale;
	private String nomCorrespondant;
	private String dateEntreeContact;
	private String dateProchainContact;
	private String statut;
	private String telephone;
	private String poste;
	private String mail;
	private String pays;
	private String commentaire;
	private String zone;
	
	
	public NewClientForm()
	{
		super();
	}
	
	public void reset()
	{
		this.nomFiliale=null;
		this.nomCorrespondant=null;
		this.dateEntreeContact=null;
		this.dateProchainContact=null;
		this.statut=null;
		this.telephone=null;
		this.poste=null;
		this.mail=null;
		this.pays=null;
		this.commentaire=null;
		this.zone=null;
		
	}
	
	public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
	{
	    ActionErrors errors = super.validate(mapping, request);
		return errors;
	}

	public String getNomFiliale() {
		return nomFiliale;
	}

	public void setNomFiliale(String nomFiliale) {
		this.nomFiliale = nomFiliale;
	}

	public String getNomCorrespondant() {
		return nomCorrespondant;
	}

	public void setNomCorrespondant(String nomCorrespondant) {
		this.nomCorrespondant = nomCorrespondant;
	}

	public String getDateProchainContact() {
		return dateProchainContact;
	}

	public void setDateProchainContact(String dateProchainContact) {
		this.dateProchainContact = dateProchainContact;
	}

	public String getStatut() {
		return statut;
	}

	public void setStatut(String statut) {
		this.statut = statut;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getPoste() {
		return poste;
	}

	public void setPoste(String poste) {
		this.poste = poste;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getPays() {
		return pays;
	}

	public void setPays(String pays) {
		this.pays = pays;
	}

	public String getCommentaire() {
		return commentaire;
	}

	public void setCommentaire(String commentaire) {
		this.commentaire = commentaire;
	}

	public String getZone() {
		return zone;
	}

	public void setZone(String zone) {
		this.zone = zone;
	}

    public String getDateEntreeContact() {
        return dateEntreeContact;
    }

    public void setDateEntreeContact( String dateEntreeContact ) {
        this.dateEntreeContact = dateEntreeContact;
    }


}
